package com.itheima.user.mapper;

import com.itheima.user.pojo.User;
import org.apache.ibatis.annotations.Select;

public interface UserDao {

    /**
     * 根据id查询用户信息
     * @param id
     * @return
     */
    @Select("select * from tb_user where id = #{id}")
    User findUserById(Long id);

}
